
IBM DataInterchange support for the Health Insurance Portability and Accountability Act 
of 1996, or commonly known as HIPAA, consists of two parts.  The first part is the 
availability of an Import "standards" file.  This "standards" file includes the specified 
subsets of each ASC ANSI X12 transaction currently approved by the US Department of Health 
and Human Services to comply with HIPAA.  Within each of these transactions, multiple loop 
definitions, segment usage requirements, and subsets of required code lists exist to match  
implementation guides approved to meet the HIPAA Legislation requirements.  This HIPAA 
"standards" file should be used when mapping the customers data transformation map. The 
second part includes the use of "validation maps". These maps have been created to validate 
the segment usages per loop, element level usages, inter-segment relations, and financial 
balancing on receive transactions.  These maps are intended to be used in addition to the 
data transformation maps created by the customer for inbound processing.  Using the HIPAA 
"standard", in conjunction with the validation map, will provide the customer with SNIP 
Level 5 compliance as listed in the Strategic National Implementation Process (SNIP) Testing 
and Certification White Paper.

For inbound processing, the IBM DataInterchange validation maps use the DIMAPCHAIN and 
DIMAPSWITCH functions and the use of global variables.  The README.TXT file lists the 
mapping literals for each transaction that should be mapped on the literal line in the 
first element of the first segment.

For outbound processing, it is suggested that the appropriate data checks be included 
in the appropriate application programs before the data enters IBM DataInterchange for 
translation.  In addition, the use of &IFNODATA mapping keyword can be used during data 
transformation.


270 Health Care Eligibility Benefit Inquiry (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP270 <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP270
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GREF EQ 1 AND GREF02 EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GIII EQ 1 AND GIII01 EQ 0) &ERR(1,,1,'III01 Required but missing')
&IF(GIII EQ 1 AND GIII02 EQ 0) &ERR(1,,1,'III02 Required but missing')
&IF(GREFA EQ 1 AND GREF02A EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GHL23CK EQ 1 AND GEQ EQ 0) &ERR(1,,1,'EQ Segment required but missing')


271 Health Care Eligibility Benefit Response (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP271 <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP271
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GNM109 EQ 0) &ERR(1,,1,'NM109 Required but missing')
&IF(GNM108 EQ 0) &ERR(1,,1,'NM108 Required but missing')
&IF(GREF EQ 1 AND GREF02 EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GAAA EQ 1 AND GAAA03 EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GAAA EQ 1 AND GAAA04 EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GNM108A EQ 0) &ERR(1,,1,'NM108 Required but missing')
&IF(GNM109A EQ 0) &ERR(1,,1,'NM109 Required but missing')
&IF(GREFA EQ 1 AND GREF02A EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GAAAA EQ 1 AND GAAA03A EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GAAAA EQ 1 AND GAAA04A EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GAAAB EQ 1 AND GAAA04B EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GAAAB EQ 1 AND GAAA03B EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GREFB EQ 1 AND GREF02B EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GAAA2B EQ 1 AND GAAA204B EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GAAA2B EQ 1 AND GAAA203B EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GREF2B EQ 1 AND GREF202B EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GAAAC EQ 1 AND GAAA04C EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GAAAC EQ 1 AND GAAA03C EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GREFC EQ 1 AND GREF02C EQ 0) &ERR(1,,1,'REF02 Required but missing')
&IF(GAAA2C EQ 1 AND GAAA204C EQ 0) &ERR(1,,1,'AAA04 Required but missing')
&IF(GAAA2C EQ 1 AND GAAA203C EQ 0) &ERR(1,,1,'AAA03 Required but missing')
&IF(GREF2C EQ 1 AND GREF202C EQ 0) &ERR(1,,1,'REF02 Required but missing')


276 Health Care Claim Status Request (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP276 <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP276
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GDMG01 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG01 Required but missing')
&IF(GDMG02 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG02 Required but missing')
&IF(GDMG03 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG03 Required but missing')
&IF(GNM103 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM103 Required but missing')
&IF(GNM108 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM108 Required but missing')
&IF(GNM109 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM109 Required but missing')
&IF(GREFA02 EQ 0 AND GREFA EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFB02 EQ 0 AND GREFB EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFC02 EQ 0 AND GREFC EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFD02 EQ 0 AND GREFD EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GHL22TRN EQ 0) &ERR(1,,1,'TRN Segment required but missing')
&IF(GHL22DTP EQ 0) &ERR(1,,1,'DTP Segment required but missing')
&IF(GHL23DMG EQ 0 AND GHL23CK EQ 1) &ERR(1,,1,'DMG Segment required but missing')
&IF(GHL23TRN EQ 0 AND GHL23CK EQ 1) &ERR(1,,1,'TRN Segment required but missing')


277 Health Care Claim Status Response (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP277 <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP277
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GHL22TRN EQ 0 AND GHL22CK EQ 1) &ERR(1,,1,'TRN Segment required but missing')
&IF(GHL23STC EQ 0 AND GHL22CK EQ 1) &ERR(1,,1,'STC Segment required but missing')
&IF(GHL23DMG EQ 0 AND GHL22CK EQ 1) &ERR(1,,1,'DMG Segment required but missing')
&IF(GSTC02 EQ 0 AND GSTC EQ 1) &ERR(1,,1,'STC02 Required but missing')
&IF(GSTC04 EQ 0 AND GSTC EQ 1) &ERR(1,,1,'STC04 Required but missing')
&IF(GSTC05 EQ 0 AND GSTC EQ 1) &ERR(1,,1,'STC05 Required but missing')
&IF(GSVC03 EQ 0 AND GSVC EQ 1) &ERR(1,,1,'SVC03 Required but missing')
&IF(GDMG01 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG01 Required but missing')
&IF(GDMG02 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG02 Required but missing')
&IF(GDMG03 EQ 0 AND GDMG EQ 1) &ERR(1,,1,'DMG03 Required but missing')
&IF(GNM103 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM103 Required but missing')
&IF(GNM108 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM108 Required but missing')
&IF(GNM109 EQ 0 AND GNM1LOOP EQ 1) &ERR(1,,1,'NM109 Required but missing')
&IF(GREFA02 EQ 0 AND GGREFA EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFB02 EQ 0 AND GGREFB EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFC02 EQ 0 AND GGREFC EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GREFD02 EQ 0 AND GGREFD EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GHL23TRN EQ 0 AND GHL23CK EQ 1) &ERR(1,,1,'TRN Segment required but missing')
&IF(GHL23STC EQ 0 AND GHL23CK EQ 1) &ERR(1,,1,'STC Segment required but missing')
&IF(GHL23REF EQ 0 AND GHL23CK EQ 1) &ERR(1,,1,'REF Segment required but missing')

278 Health Care Claim Services Request for Review (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP278A <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP278A
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GUM02 EQ 0) &ERR(1,,1,'UM02 Required but missing')
&IF(GUM09 EQ 0 AND UM EQ 1) &ERR(1,,1,'UM09 Required but missing')
&IF(GREF02 EQ 0 AND GREF EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GCR103 EQ 0 AND GCR1 EQ 1) &ERR(1,,1,'CR103 Required but missing')
&IF(GCR104 EQ 0 AND GCR1 EQ 1) &ERR(1,,1,'CR104 Required but missing')
&IF(GCR212 EQ 0 AND GCR2 EQ 1) &ERR(1,,1,'CR212 Required but missing')
&IF(GCR506 EQ 0 AND GCR5 EQ 1) &ERR(1,,1,'CR506 Required but missing')
&IF(GCR512 EQ 0 AND GCR5 EQ 1) &ERR(1,,1,'CR512 Required but missing')
&IF(GCR517 EQ 0 AND GCR5 EQ 1) &ERR(1,,1,'CR217 Required but missing')

278 Health Care Claim Services Review Response (Receive)

&IFNOVAR &SET GVALMAP 0
&IF(GVALMAP EQ 0) &SET GVALCHAINMAP278B <application sender ID to return to this translation map>
&IF(GVALMAP EQ 0) &SET DIMAPSWITCH VALMAP278B
&IF(GVALMAP EQ 1) &SET GVALMAP 0
&IF(GUM02 EQ 0) &ERR(1,,1,'UM02 Required but missing')
&IF(GUM042 EQ 0 AND UM04 EQ 1) &ERR(1,,1,'UM04-2 Required but missing')
&IF(GREF02 EQ 0 AND GREF EQ 1) &ERR(1,,1,'REF02 Required but missing')
&IF(GCR103 EQ 0 AND GCR1 EQ 1) &ERR(1,,1,'CR103 Required but missing')
&IF(GCR506 EQ 0 AND GCR5 EQ 1) &ERR(1,,1,'CR506 Required but missing')
&IF(GCR517 EQ 0 AND GCR5 EQ 1) &ERR(1,,1,'CR517 Required but missing')
























